package cn.blunce.Map;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Experiment on 2016/4/5 0005.
 */
public class MapTest {
    public static void main(String[] args) {
        Map<String, Integer> map = new HashMap<String, Integer>();
        map.put("a", 1);
        map.put("b", 2);
        map.put("c", 3);
        map.put("d", 4);
        for (String string : map.keySet())
            System.out.println(string + "\t" + map.get(string));
        map.remove("c");
        for (String string : map.keySet())
            System.out.println(string + "\t" + map.get(string));
    }
}
